package com.syg.dao.datasource;

/**
 * @author syg
 */

public enum DataSourceEnum {

    /** 主 **/
    MASTER("master"),
    /** 从 **/
    SLAVER("slaver"),
    ;

    private final String dataSourceName;

    DataSourceEnum(String dataSourceName) {
        this.dataSourceName = dataSourceName;
    }

    /**
     * 获取dataSourceName
     * @return
     */
    public String getDataSourceName() {
        return this.dataSourceName;
    }


}
